package com.eol.service.pay;

import com.eol.entity.dto.pay.PayInputDto;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * User: liulinhui
 * Date: 2020/5/27
 * Time: 6:34 AM
 * Description: PayNotifyService
 */
@Service
public class PayNotifyService {

    /**
     * 订单是否已经支付了 todo
     *
     * @param orderId 订单ID
     * @param type    商品类型
     * @return true：已经支付了
     */
    public boolean isOrderPayed(String orderId, Integer type) {
        return false;
    }

    /**
     * 支付成功后操作 todo
     *
     * @param orderId 订单ID
     * @param type    商品类型
     */
    public void paySuccess(String orderId, Integer type) {

    }
}
